<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Echarts中Option属性设置 | 茂茂个人博客</title>
    <meta name="generator" content="VuePress 1.7.1">
    <link rel="icon" href="https://pan.zealsay.com/blog/favicon.ico">
    <script>
          var _hmt = _hmt || [];
          (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?b0aae218897fa9d8a9f76e9a77e0b3c6";
            var s = document.getElementsByTagName("script")[0]; 
            s.parentNode.insertBefore(hm, s);
          })();
        </script>
    <meta name="description" content="开心最重要呀">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    
    <link rel="preload" href="/blog/assets/css/0.styles.ed123d92.css" as="style"><link rel="preload" href="/blog/assets/js/app.e4cba77b.js" as="script"><link rel="preload" href="/blog/assets/js/5.1ad0ff24.js" as="script"><link rel="preload" href="/blog/assets/js/1.fe4eac58.js" as="script"><link rel="preload" href="/blog/assets/js/30.5c69a6a2.js" as="script"><link rel="prefetch" href="/blog/assets/js/10.58980e71.js"><link rel="prefetch" href="/blog/assets/js/11.461ee1ab.js"><link rel="prefetch" href="/blog/assets/js/12.de9aade4.js"><link rel="prefetch" href="/blog/assets/js/13.c1f7abfc.js"><link rel="prefetch" href="/blog/assets/js/14.eeee4da5.js"><link rel="prefetch" href="/blog/assets/js/15.225a74ee.js"><link rel="prefetch" href="/blog/assets/js/16.3eef12b1.js"><link rel="prefetch" href="/blog/assets/js/17.a97bd7c7.js"><link rel="prefetch" href="/blog/assets/js/18.461a74bd.js"><link rel="prefetch" href="/blog/assets/js/19.7b390d19.js"><link rel="prefetch" href="/blog/assets/js/20.8638de7c.js"><link rel="prefetch" href="/blog/assets/js/21.8b1e5c62.js"><link rel="prefetch" href="/blog/assets/js/22.b6b97b5b.js"><link rel="prefetch" href="/blog/assets/js/23.c3e9364b.js"><link rel="prefetch" href="/blog/assets/js/24.daa0ce9e.js"><link rel="prefetch" href="/blog/assets/js/25.0c44cdb2.js"><link rel="prefetch" href="/blog/assets/js/26.ed604668.js"><link rel="prefetch" href="/blog/assets/js/27.0c4acdea.js"><link rel="prefetch" href="/blog/assets/js/28.4f896280.js"><link rel="prefetch" href="/blog/assets/js/29.50e69b67.js"><link rel="prefetch" href="/blog/assets/js/3.90606e56.js"><link rel="prefetch" href="/blog/assets/js/31.8a40c25d.js"><link rel="prefetch" href="/blog/assets/js/32.7a1f46ed.js"><link rel="prefetch" href="/blog/assets/js/33.a48429b4.js"><link rel="prefetch" href="/blog/assets/js/34.8f224bd0.js"><link rel="prefetch" href="/blog/assets/js/35.bc552eb5.js"><link rel="prefetch" href="/blog/assets/js/36.7e0cc0d9.js"><link rel="prefetch" href="/blog/assets/js/37.2bb21bfb.js"><link rel="prefetch" href="/blog/assets/js/38.f77b014f.js"><link rel="prefetch" href="/blog/assets/js/39.8a5ba8b0.js"><link rel="prefetch" href="/blog/assets/js/4.89c80be7.js"><link rel="prefetch" href="/blog/assets/js/40.c600c684.js"><link rel="prefetch" href="/blog/assets/js/41.0dbac397.js"><link rel="prefetch" href="/blog/assets/js/42.f1035a7b.js"><link rel="prefetch" href="/blog/assets/js/43.ace95e0e.js"><link rel="prefetch" href="/blog/assets/js/44.0ff283b9.js"><link rel="prefetch" href="/blog/assets/js/45.836151e7.js"><link rel="prefetch" href="/blog/assets/js/46.033824d7.js"><link rel="prefetch" href="/blog/assets/js/47.499ce120.js"><link rel="prefetch" href="/blog/assets/js/48.39c2db90.js"><link rel="prefetch" href="/blog/assets/js/49.ca266dff.js"><link rel="prefetch" href="/blog/assets/js/50.c12ee57e.js"><link rel="prefetch" href="/blog/assets/js/51.4c3c8a1c.js"><link rel="prefetch" href="/blog/assets/js/52.c11bc4a4.js"><link rel="prefetch" href="/blog/assets/js/53.d4dc4ec7.js"><link rel="prefetch" href="/blog/assets/js/54.300dd272.js"><link rel="prefetch" href="/blog/assets/js/55.6e86af02.js"><link rel="prefetch" href="/blog/assets/js/56.d91a04d8.js"><link rel="prefetch" href="/blog/assets/js/6.4f77b856.js"><link rel="prefetch" href="/blog/assets/js/7.db9a864b.js"><link rel="prefetch" href="/blog/assets/js/8.bf0cca83.js"><link rel="prefetch" href="/blog/assets/js/9.84ddd18e.js">
    <link rel="stylesheet" href="/blog/assets/css/0.styles.ed123d92.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container no-sidebar" data-v-0c5314fc><div data-v-0c5314fc><div id="loader-wrapper" class="loading-wrapper" data-v-d48f4d20 data-v-0c5314fc data-v-0c5314fc><div class="loader-main" data-v-d48f4d20><div data-v-d48f4d20></div><div data-v-d48f4d20></div><div data-v-d48f4d20></div><div data-v-d48f4d20></div></div> <!----> <!----></div> <div class="password-shadow password-wrapper-out" style="display:none;" data-v-5cb9a64e data-v-0c5314fc data-v-0c5314fc><h3 class="title" style="display:none;" data-v-5cb9a64e data-v-5cb9a64e>茂茂个人博客</h3> <!----> <label id="box" class="inputBox" style="display:none;" data-v-5cb9a64e data-v-5cb9a64e><input type="password" value="" data-v-5cb9a64e> <span data-v-5cb9a64e>Konck! Knock!</span> <button data-v-5cb9a64e>OK</button></label> <div class="footer" style="display:none;" data-v-5cb9a64e data-v-5cb9a64e><span data-v-5cb9a64e><i class="iconfont reco-theme" data-v-5cb9a64e></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-5cb9a64e>vuePress-theme-reco</a></span> <span data-v-5cb9a64e><i class="iconfont reco-copyright" data-v-5cb9a64e></i> <a data-v-5cb9a64e><span data-v-5cb9a64e>茂茂</span>
            
          <span data-v-5cb9a64e>2019 - </span>
          2023
        </a></span></div></div> <div class="hide" data-v-0c5314fc><div data-v-0c5314fc><div id="smart" class="wrapper-page" style="background-image:url(/blog/articleImage/img02.jpeg);background-position-x:center;background-position-y:center;background-size:cover;background-repeat-x:no-repeat;background-repeat-y:no-repeat;" data-v-0c5314fc><header class="navbar" data-v-0c5314fc><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/blog/" class="home-link router-link-active"><img src="/blog/logo.png" alt="茂茂个人博客" class="logo"> <span class="site-name">茂茂个人博客</span></a> <div class="links"><div id="dayNightSwitch" class="generalWrapper" data-v-32f44868><a class="click" data-v-32f44868><div class="onOff daySwitch" data-v-32f44868><div class="star star1" data-v-32f44868></div> <div class="star star2" data-v-32f44868></div> <div class="star star3" data-v-32f44868></div> <div class="star star4" data-v-32f44868></div> <div class="star star5" data-v-32f44868></div> <div class="star sky" data-v-32f44868></div> <div class="sunMoon" data-v-32f44868><div class="crater crater1" data-v-32f44868></div> <div class="crater crater2" data-v-32f44868></div> <div class="crater crater3" data-v-32f44868></div> <div class="cloud part1" data-v-32f44868></div> <div class="cloud part2" data-v-32f44868></div></div></div></a></div> <div class="search-box"><i class="iconfont reco-search"></i> <input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/blog/" class="nav-link"><i class="iconfont reco-home"></i>
  主页
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      博客
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/blog/categories/工具与阅读/" class="nav-link"><i class="iconfont undefined"></i>
  工具与阅读
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/vue/" class="nav-link"><i class="iconfont undefined"></i>
  vue
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/前端/" class="nav-link"><i class="iconfont undefined"></i>
  前端
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/后端/" class="nav-link"><i class="iconfont undefined"></i>
  后端
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/node/" class="nav-link"><i class="iconfont undefined"></i>
  node
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/IOS/" class="nav-link"><i class="iconfont undefined"></i>
  IOS
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/WebGIS/" class="nav-link"><i class="iconfont undefined"></i>
  WebGIS
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/React/" class="nav-link"><i class="iconfont undefined"></i>
  React
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/面试/" class="nav-link"><i class="iconfont undefined"></i>
  面试
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/Angular/" class="nav-link"><i class="iconfont undefined"></i>
  Angular
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/数据结构与算法/" class="nav-link"><i class="iconfont undefined"></i>
  数据结构与算法
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/微前端架构/" class="nav-link"><i class="iconfont undefined"></i>
  微前端架构
</a></li></ul></div></div><div class="nav-item"><a href="/blog/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  标签
</a></div><div class="nav-item"><a href="/blog/timeline/" class="nav-link"><i class="iconfont reco-date"></i>
  时间轴
</a></div><div class="nav-item"><a href="/blog/about/" class="nav-link"><i class="iconfont reco-account"></i>
  关于
</a></div> <!----></nav></div></header> <div class="sidebar-mask" data-v-0c5314fc></div> <aside class="sidebar" data-v-0c5314fc><div class="personal-info-wrapper" data-v-03833281 data-v-0c5314fc><img src="/blog/logo.png" alt="author-avatar" class="personal-img" data-v-03833281> <h3 class="name" data-v-03833281>
    茂茂
  </h3> <div class="num" data-v-03833281><div data-v-03833281><h3 data-v-03833281>43</h3> <h6 data-v-03833281>文章</h6></div> <div data-v-03833281><h3 data-v-03833281>30</h3> <h6 data-v-03833281>标签</h6></div></div> <hr data-v-03833281></div> <nav class="nav-links"><div class="nav-item"><a href="/blog/" class="nav-link"><i class="iconfont reco-home"></i>
  主页
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      博客
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/blog/categories/工具与阅读/" class="nav-link"><i class="iconfont undefined"></i>
  工具与阅读
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/vue/" class="nav-link"><i class="iconfont undefined"></i>
  vue
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/前端/" class="nav-link"><i class="iconfont undefined"></i>
  前端
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/后端/" class="nav-link"><i class="iconfont undefined"></i>
  后端
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/node/" class="nav-link"><i class="iconfont undefined"></i>
  node
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/IOS/" class="nav-link"><i class="iconfont undefined"></i>
  IOS
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/WebGIS/" class="nav-link"><i class="iconfont undefined"></i>
  WebGIS
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/React/" class="nav-link"><i class="iconfont undefined"></i>
  React
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/面试/" class="nav-link"><i class="iconfont undefined"></i>
  面试
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/Angular/" class="nav-link"><i class="iconfont undefined"></i>
  Angular
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/数据结构与算法/" class="nav-link"><i class="iconfont undefined"></i>
  数据结构与算法
</a></li><li class="dropdown-item"><!----> <a href="/blog/categories/微前端架构/" class="nav-link"><i class="iconfont undefined"></i>
  微前端架构
</a></li></ul></div></div><div class="nav-item"><a href="/blog/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  标签
</a></div><div class="nav-item"><a href="/blog/timeline/" class="nav-link"><i class="iconfont reco-date"></i>
  时间轴
</a></div><div class="nav-item"><a href="/blog/about/" class="nav-link"><i class="iconfont reco-account"></i>
  关于
</a></div> <!----></nav> <!----> </aside> <div class="password-shadow password-wrapper-in" style="display:none;" data-v-5cb9a64e data-v-0c5314fc><h3 class="title" style="display:none;" data-v-5cb9a64e data-v-5cb9a64e>Echarts中Option属性设置</h3> <!----> <label id="box" class="inputBox" style="display:none;" data-v-5cb9a64e data-v-5cb9a64e><input type="password" value="" data-v-5cb9a64e> <span data-v-5cb9a64e>Konck! Knock!</span> <button data-v-5cb9a64e>OK</button></label> <div class="footer" style="display:none;" data-v-5cb9a64e data-v-5cb9a64e><span data-v-5cb9a64e><i class="iconfont reco-theme" data-v-5cb9a64e></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-5cb9a64e>vuePress-theme-reco</a></span> <span data-v-5cb9a64e><i class="iconfont reco-copyright" data-v-5cb9a64e></i> <a data-v-5cb9a64e><span data-v-5cb9a64e>茂茂</span>
            
          <span data-v-5cb9a64e>2019 - </span>
          2023
        </a></span></div></div></div> <div data-v-0c5314fc><main class="page" style="padding-right:0;"><div class="page-title" style="display:none;"><h1 class="title">Echarts中Option属性设置</h1> <div class="page-info" data-v-0efa1f05><i class="iconfont reco-account" data-v-0efa1f05><span data-v-0efa1f05>茂茂</span></i> <i class="iconfont reco-date" data-v-0efa1f05><span data-v-0efa1f05>2021-12-22</span></i> <i class="iconfont reco-eye" data-v-0efa1f05><span id="/blog/blogs/tec/2021/122201.html" data-flag-title="Your Article Title" class="leancloud-visitors" data-v-0efa1f05><a class="leancloud-visitors-count" style="font-size:.9rem;font-weight:normal;color:#999;"></a></span></i> <i class="iconfont reco-tag tags" data-v-0efa1f05><span class="tag-item" data-v-0efa1f05>echars</span><span class="tag-item" data-v-0efa1f05>可视化</span></i></div></div> <div class="theme-reco-content content__default" style="display:none;"><h2 id="title-标题组件"><a href="#title-标题组件" class="header-anchor">#</a> title--标题组件</h2> <p>标题组件，包含主标题和副标题</p> <div class="language-js extra-class"><pre class="language-js"><code>title<span class="token operator">:</span><span class="token punctuation">{</span>
	x<span class="token operator">:</span><span class="token string">&quot;left&quot;</span><span class="token punctuation">,</span>    <span class="token comment">// 'left' | 'right' | 'center' | '100px'</span>
	y<span class="token operator">:</span><span class="token string">&quot;4%&quot;</span><span class="token punctuation">,</span>     <span class="token comment">// 'top' | 'bottom' | 'center' | '100px'</span>
    <span class="token comment">// 标题</span>
    show<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">//是否显示</span>
    text<span class="token operator">:</span> <span class="token string">&quot;标题内容&quot;</span><span class="token punctuation">,</span>
    textStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
      color<span class="token operator">:</span> <span class="token string">&quot;#fff&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 主标题文字的颜色。</span>
      fontStyle<span class="token operator">:</span> <span class="token string">&quot;normal&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 主标题文字字体的风格。 'normal'  'italic'  'oblique'</span>
      fontWeight<span class="token operator">:</span> <span class="token string">&quot;normal&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 主标题文字字体的粗细。 'normal' 'bold'  'bolder'  'lighter' 500|600</span>
      fontFamily<span class="token operator">:</span> <span class="token string">&quot;sans-serif&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 主标题文字的字体系列。</span>
      fontSize<span class="token operator">:</span> <span class="token number">18</span><span class="token punctuation">,</span> <span class="token comment">// 字体大小</span>
      lineHeight<span class="token operator">:</span> <span class="token string">&quot;30&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 行高</span>
      <span class="token comment">// width ... , // 文字块的宽度</span>
      <span class="token comment">// height ... , // 文字块的高度</span>
      textBorderColor<span class="token operator">:</span> <span class="token string">&quot;transparent&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的描边颜色。</span>
      textBorderWidth<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的描边宽度。</span>
      textShadowColor<span class="token operator">:</span> <span class="token string">&quot;transparent&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的阴影颜色。</span>
      textShadowBlur<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的阴影长度。</span>
      textShadowOffsetX<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的阴影 X 偏移。</span>
      textShadowOffsetY<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">//  文字本身的阴影 Y 偏移。</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    subtext<span class="token operator">:</span> <span class="token string">&quot;bb&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 副标题文本</span>
    subtextStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
      color<span class="token operator">:</span> <span class="token string">&quot;red&quot;</span><span class="token punctuation">,</span>
      fontSize<span class="token operator">:</span> <span class="token string">&quot;16&quot;</span><span class="token punctuation">,</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>   <span class="token comment">//副标题样式</span>
    textAlign<span class="token operator">:</span> <span class="token string">&quot;auto&quot;</span><span class="token punctuation">,</span> <span class="token comment">//水平对齐'auto'、'left'、'right'、'center'</span>
    textVerticalAlign<span class="token operator">:</span> <span class="token string">&quot;auto&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 垂直对齐  'auto'、'top'、'bottom'、'middle'</span>
    triggerEvent<span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span> <span class="token comment">// 是否触发事件</span>
    padding<span class="token operator">:</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token comment">// 标题内边距  5/[5,2,4,7]</span>
    itemGap<span class="token operator">:</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token comment">//主副标题之间的间距</span>
    left<span class="token operator">:</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token comment">// 距离 left top right bottom</span>
    x<span class="token operator">:</span> <span class="token string">&quot;center&quot;</span><span class="token punctuation">,</span>  <span class="token comment">// 水平安放位置，默认为左对齐，可选为：'center' ¦ 'left' ¦ 'right' ¦ {number}（x坐标，单位px）</span>
    y<span class="token operator">:</span> <span class="token string">&quot;4%&quot;</span><span class="token punctuation">,</span>      <span class="token comment">// 垂直安放位置，默认为全图顶端，可选为：// 'top' ¦ 'bottom' ¦ 'center'¦ {number}（y坐标，单位px）</span>
    backgroundColor<span class="token operator">:</span> <span class="token string">&quot;pink&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 标题背景色</span>
    borderColor<span class="token operator">:</span> <span class="token string">&quot;#ccc&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 标题的边框颜色</span>
    borderWidth<span class="token operator">:</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token comment">// 标题的边框线宽。</span>
    borderRadius<span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token comment">// 圆角半径</span>
    shadowBlur<span class="token operator">:</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token comment">//图形阴影的模糊大小</span>
    shadowColor<span class="token operator">:</span> <span class="token string">&quot;rgba(0, 0, 0, 0.5)&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 阴影颜色</span>
    shadowOffsetX<span class="token operator">:</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token comment">// 阴影水平方向上的偏移距离。</span>
    shadowOffsetY<span class="token operator">:</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token comment">//阴影垂直方向上的偏移距离。</span>
<span class="token punctuation">}</span>

</code></pre></div><h2 id="legend-图例组件"><a href="#legend-图例组件" class="header-anchor">#</a> legend--图例组件</h2> <p>图例组件,展现了不同系列的标记(symbol)，颜色和名字。可以通过点击图例控制哪些系列不显示</p> <div class="language-js extra-class"><pre class="language-js"><code>legend<span class="token operator">:</span> <span class="token punctuation">{</span>
  show<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">//是否显示</span>
  type<span class="token operator">:</span> <span class="token string">&quot;plain&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 图例的类型 'plain':普通图例  'scroll':可滚动翻页的图例</span>
  zlevel<span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">// 所有图形的 zlevel 值。</span>
  icon<span class="token operator">:</span> <span class="token string">&quot;circle&quot;</span><span class="token punctuation">,</span>
  top<span class="token operator">:</span> <span class="token string">&quot;5%&quot;</span><span class="token punctuation">,</span> <span class="token comment">// bottom:&quot;20%&quot; // 组件离容器的距离</span>
  right<span class="token operator">:</span> <span class="token string">&quot;5%&quot;</span><span class="token punctuation">,</span> <span class="token comment">//left:&quot;10%&quot;  // // 组件离容器的距离</span>
  width<span class="token operator">:</span> <span class="token string">&quot;auto&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 图例组件的宽度</span>
  height<span class="token operator">:</span> <span class="token string">&quot;auto&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 图例组件的高度</span>
  orient<span class="token operator">:</span> <span class="token string">&quot;horizontal&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 图例列表的布局朝向。 'horizontal'  'vertical'</span>
  align<span class="token operator">:</span> <span class="token string">&quot;auto&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 图例标记和文本的对齐</span>
  padding<span class="token operator">:</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token comment">// 图例内边距</span>
  itemWidth<span class="token operator">:</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token comment">// 图例标记的图形宽度。</span>
  itemGap<span class="token operator">:</span> <span class="token number">20</span><span class="token punctuation">,</span> <span class="token comment">// 图例每项之间的间隔。</span>
  itemHeight<span class="token operator">:</span> <span class="token number">14</span><span class="token punctuation">,</span> <span class="token comment">//  图例标记的图形高度。</span>
  symbolKeepAspect<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">// 如果图标（可能来自系列的 symbol 或用户自定义的 legend.data.icon）是 path:// 的形式，是否在缩放时保持该图形的长宽比。</span>
  <span class="token function-variable function">formatter</span><span class="token operator">:</span> <span class="token keyword">function</span> <span class="token punctuation">(</span><span class="token parameter">name</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token keyword">return</span> <span class="token string">'{a|text}{a|   }{b|'</span> <span class="token operator">+</span>  name <span class="token operator">+</span> <span class="token string">'}'</span>
  <span class="token punctuation">}</span><span class="token punctuation">,</span>
  selectedMode<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">// 图例选择的模式，</span>
  inactiveColor<span class="token operator">:</span> <span class="token string">&quot;#ccc&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 图例关闭时的颜色。</span>
  textStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
    color<span class="token operator">:</span> <span class="token string">&quot;#556677&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字的颜色。</span>
    fontStyle<span class="token operator">:</span> <span class="token string">&quot;normal&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字字体的风格。</span>
    fontWeight<span class="token operator">:</span> <span class="token string">&quot;normal&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字字体的粗细。 'normal' 'bold'  'bolder' 'lighter'  100 | 200 | 300 | 400...</span>
    fontFamily<span class="token operator">:</span> <span class="token string">&quot;sans-serif&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字的字体系列。</span>
    fontSize<span class="token operator">:</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token comment">// 文字的字体大小。</span>
    lineHeight<span class="token operator">:</span> <span class="token number">20</span><span class="token punctuation">,</span> <span class="token comment">// 行高。</span>
    backgroundColor<span class="token operator">:</span> <span class="token string">&quot;transparent&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字块背景色。</span>
    borderColor<span class="token operator">:</span> <span class="token string">&quot;transparent&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字块边框颜色。</span>
    borderWidth<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字块边框宽度。</span>
    borderRadius<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字块的圆角。</span>
    padding<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字块的内边距</span>
    shadowColor<span class="token operator">:</span> <span class="token string">&quot;transparent&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字块的背景阴影颜色</span>
    shadowBlur<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字块的背景阴影长度。</span>
    shadowOffsetX<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字块的背景阴影 X 偏移。</span>
    shadowOffsetY<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字块的背景阴影 Y 偏移。</span>
    <span class="token comment">// width: 50, // 文字块的宽度。 默认</span>
    <span class="token comment">// height: 40, // 文字块的高度 默认</span>
    textBorderColor<span class="token operator">:</span> <span class="token string">&quot;transparent&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的描边颜色。</span>
    textBorderWidth<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的描边宽度。</span>
    textShadowColor<span class="token operator">:</span> <span class="token string">&quot;transparent&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的阴影颜色。</span>
    textShadowBlur<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的阴影长度。</span>
    textShadowOffsetX<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的阴影 X 偏移。</span>
    textShadowOffsetY<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 文字本身的阴影 Y 偏移。</span>
    rich<span class="token operator">:</span> <span class="token punctuation">{</span>
    a<span class="token operator">:</span> <span class="token punctuation">{</span>
      color<span class="token operator">:</span> <span class="token string">&quot;red&quot;</span><span class="token punctuation">,</span>
      lineHeight<span class="token operator">:</span> <span class="token number">10</span><span class="token punctuation">,</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
      b<span class="token operator">:</span> <span class="token punctuation">{</span>
      color<span class="token operator">:</span> <span class="token string">&quot;#fff&quot;</span><span class="token punctuation">,</span>
      lineHeight<span class="token operator">:</span> <span class="token number">10</span><span class="token punctuation">,</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
  <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token comment">// 自定富文本样式</span>
  <span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>

</code></pre></div><h2 id="tooltip-提示框组件"><a href="#tooltip-提示框组件" class="header-anchor">#</a> tooltip--提示框组件</h2> <p>提示框组件,可以设置在多种地方：
可以设置在全局，即 tooltip
可以设置在坐标系中，即 grid.tooltip、polar.tooltip、single.tooltip
可以设置在系列中，即 series.tooltip
可以设置在系列的每个数据项中，即 series.data.tooltip</p> <div class="language-js extra-class"><pre class="language-js"><code>tooltip <span class="token operator">=</span><span class="token punctuation">{</span>                                  <span class="token comment">//提示框组件</span>
    trigger<span class="token operator">:</span> <span class="token string">'item'</span><span class="token punctuation">,</span>                        <span class="token comment">//触发类型,'item'数据项图形触发，主要在散点图，饼图等无类目轴的图表中使用。 'axis'坐标轴触发，主要在柱状图，折线图等会使用类目轴的图表中使用。</span>
    triggerOn<span class="token operator">:</span><span class="token string">&quot;mousemove&quot;</span><span class="token punctuation">,</span>                  <span class="token comment">//提示框触发的条件,'mousemove'鼠标移动时触发。'click'鼠标点击时触发。'mousemove|click'同时鼠标移动和点击时触发。'none'不在 'mousemove' 或 'click' 时触发</span>
    showContent<span class="token operator">:</span><span class="token boolean">true</span><span class="token punctuation">,</span>                       <span class="token comment">//是否显示提示框浮层</span>
    alwaysShowContent<span class="token operator">:</span><span class="token boolean">true</span><span class="token punctuation">,</span>                 <span class="token comment">//是否永远显示提示框内容</span>
    showDelay<span class="token operator">:</span><span class="token number">0</span><span class="token punctuation">,</span>                            <span class="token comment">//浮层显示的延迟，单位为 ms</span>
    hideDelay<span class="token operator">:</span><span class="token number">100</span><span class="token punctuation">,</span>                          <span class="token comment">//浮层隐藏的延迟，单位为 ms</span>
    enterable<span class="token operator">:</span><span class="token boolean">false</span><span class="token punctuation">,</span>                        <span class="token comment">//鼠标是否可进入提示框浮层中</span>
    confine<span class="token operator">:</span><span class="token boolean">false</span><span class="token punctuation">,</span>                          <span class="token comment">//是否将 tooltip 框限制在图表的区域内</span>
    transitionDuration<span class="token operator">:</span><span class="token number">0.4</span><span class="token punctuation">,</span>                 <span class="token comment">//提示框浮层的移动动画过渡时间，单位是 s,设置为 0 的时候会紧跟着鼠标移动</span>
    position<span class="token operator">:</span><span class="token punctuation">[</span><span class="token string">'50%'</span><span class="token punctuation">,</span> <span class="token string">'50%'</span><span class="token punctuation">]</span><span class="token punctuation">,</span>                <span class="token comment">//提示框浮层的位置，默认不设置时位置会跟随鼠标的位置,[10, 10],回掉函数，inside鼠标所在图形的内部中心位置，top、left、bottom、right鼠标所在图形上侧，左侧，下侧，右侧，</span>
    formatter<span class="token operator">:</span><span class="token string">&quot;{b0}: {c0}&lt;br /&gt;{b1}: {c1}&quot;</span><span class="token punctuation">,</span> <span class="token comment">//提示框浮层内容格式器，支持字符串模板和回调函数两种形式,模板变量有 {a}, {b}，{c}，{d}，{e}，分别表示系列名，数据名，数据值等</span>
    backgroundColor<span class="token operator">:</span><span class="token string">&quot;transparent&quot;</span><span class="token punctuation">,</span>          <span class="token comment">//标题背景色</span>
    borderColor<span class="token operator">:</span><span class="token string">&quot;#ccc&quot;</span><span class="token punctuation">,</span>                     <span class="token comment">//边框颜色</span>
    borderWidth<span class="token operator">:</span><span class="token number">0</span><span class="token punctuation">,</span>                          <span class="token comment">//边框线宽</span>
    padding<span class="token operator">:</span><span class="token number">5</span><span class="token punctuation">,</span>                              <span class="token comment">//图例内边距，单位px  5  [5, 10]  [5,10,5,10]</span>
    textStyle<span class="token operator">:</span>mytextStyle<span class="token punctuation">,</span>                  <span class="token comment">//文本样式</span>
    axisPointer<span class="token operator">:</span> <span class="token punctuation">{</span>                          <span class="token comment">// 鼠标放在</span>
      type<span class="token operator">:</span> <span class="token string">'cross'</span><span class="token punctuation">,</span> <span class="token comment">//默认为line，line直线，cross十字准星，shadow阴影</span>
      crossStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
              color<span class="token operator">:</span> <span class="token string">'#fff'</span>
      <span class="token punctuation">}</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    <span class="token function-variable function">formatter</span><span class="token operator">:</span> <span class="token keyword">function</span> <span class="token punctuation">(</span><span class="token parameter">value</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
      <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">var</span> i <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span> i <span class="token operator">&lt;</span> value<span class="token punctuation">.</span>length<span class="token punctuation">;</span> i<span class="token operator">++</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
        <span class="token keyword">return</span> <span class="token punctuation">(</span>
          value<span class="token punctuation">[</span>i<span class="token punctuation">]</span><span class="token punctuation">.</span>seriesName <span class="token operator">+</span>
          <span class="token string">&quot;&lt;br/&gt;&quot;</span> <span class="token operator">+</span>
          value<span class="token punctuation">[</span>i<span class="token punctuation">]</span><span class="token punctuation">.</span>name <span class="token operator">+</span>
          unit <span class="token operator">+</span>
          <span class="token string">&quot;：&quot;</span> <span class="token operator">+</span>
          value<span class="token punctuation">[</span>i<span class="token punctuation">]</span><span class="token punctuation">.</span>value <span class="token operator">+</span>
          <span class="token string">&quot;%&quot;</span>
        <span class="token punctuation">)</span><span class="token punctuation">;</span>
      <span class="token punctuation">}</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">}</span><span class="token punctuation">;</span>


</code></pre></div><h2 id="grid-可用于调整图例在整个容器中的占位"><a href="#grid-可用于调整图例在整个容器中的占位" class="header-anchor">#</a> grid--可用于调整图例在整个容器中的占位</h2> <p>直角坐标系内绘图网格，单个 grid 内最多可以放置上下两个 X 轴，左右两个 Y 轴。可以在网格上绘制折线图，柱状图，散点图（气泡图）。
也可用于调整图例在整个容器中的占位
在 ECharts 2.x 里单个 echarts 实例中最多只能存在一个 grid 组件，在 ECharts 3 中可以存在任意个 grid 组件。</p> <div class="language-js extra-class"><pre class="language-js"><code>grid<span class="token operator">:</span><span class="token punctuation">{</span>
	x<span class="token operator">:</span> <span class="token number">80</span><span class="token punctuation">,</span>   <span class="token comment">//top:&quot;15%&quot; | right:&quot;3%&quot; | left:&quot;2%&quot; | bottom:&quot;12%&quot;</span>
    y<span class="token operator">:</span> <span class="token number">60</span><span class="token punctuation">,</span>
    x2<span class="token operator">:</span> <span class="token number">80</span><span class="token punctuation">,</span>
    y2<span class="token operator">:</span> <span class="token number">60</span><span class="token punctuation">,</span>
    <span class="token comment">// width: {totalWidth} - x - x2,</span>
    <span class="token comment">// height: {totalHeight} - y - y2,</span>
    backgroundColor<span class="token operator">:</span> <span class="token function">‘rgba</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">)</span>‘<span class="token punctuation">,</span>
    borderWidth<span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
    borderColor<span class="token operator">:</span> <span class="token string">'#ccc'</span><span class="token punctuation">,</span>
    containLabel<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">//防止坐标轴标签溢出</span>
<span class="token punctuation">}</span>


</code></pre></div><h2 id="xaxis-x-轴"><a href="#xaxis-x-轴" class="header-anchor">#</a> xAxis--x 轴</h2> <p>直角坐标系 grid 中的 x 轴，一般情况下单个 grid 组件最多只能放上下两个 x 轴，多于两个 x 轴需要通过配置 offset 属性防止同个位置多个 x 轴的重叠。</p> <div class="language-js extra-class"><pre class="language-js"><code>xAxis<span class="token operator">:</span> <span class="token punctuation">{</span>
  boundaryGap<span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span><span class="token comment">// 刻度离纵轴有无间隙，默认true有间距</span>
  type<span class="token operator">:</span> <span class="token string">'category'</span><span class="token punctuation">,</span> <span class="token comment">//'value' 数值轴，适用于连续数据。 'category' 类目轴，适用于离散的类目数据，为该类型时必须通过 data 设置类目数据。 'time' 时间轴，适用于连续的时序数据，与数值轴相比时间轴带有时间的格式化，在刻度计算上也有所不同，例如会根据跨度的范围来决定使用月，星期，日还是小时范围的刻度。 'log' 对数轴。适用于对数数据。</span>
  position<span class="token operator">:</span><span class="token string">'bottom'</span><span class="token punctuation">,</span>  <span class="token comment">// 'bottom' | 'top'</span>
  name<span class="token operator">:</span> <span class="token string">'(ETD)'</span><span class="token punctuation">,</span><span class="token comment">// 横轴名称</span>
  nameTextStyle<span class="token operator">:</span><span class="token punctuation">{</span>
    fontSize<span class="token operator">:</span><span class="token number">12</span><span class="token punctuation">,</span>
    fontWeight<span class="token operator">:</span><span class="token string">'bold'</span><span class="token punctuation">,</span>
    color<span class="token operator">:</span><span class="token string">'#ff0033'</span><span class="token punctuation">,</span>
    <span class="token comment">//align:'left',</span>
  <span class="token punctuation">}</span><span class="token punctuation">,</span>
  nameLocation<span class="token operator">:</span><span class="token string">'middle'</span><span class="token punctuation">,</span><span class="token comment">//坐标轴的位置 'start' | 'center' | 'end'</span>
  nameGap<span class="token operator">:</span><span class="token number">50</span><span class="token punctuation">,</span><span class="token comment">//坐标轴名称与轴线之间的距离</span>
  nameRotate<span class="token operator">:</span><span class="token number">90</span><span class="token punctuation">,</span><span class="token comment">//坐标轴名字旋转角度值,</span>
  axisLabel <span class="token operator">:</span> <span class="token punctuation">{</span><span class="token comment">//坐标轴刻度标签的相关设置。</span>
      <span class="token comment">// clickable:true,//并给图表添加单击事件  根据返回值判断点击的是哪里</span>
      interval<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
      inside<span class="token operator">:</span><span class="token boolean">false</span><span class="token punctuation">,</span> <span class="token comment">//  标签朝内还是朝外</span>
      rotate<span class="token operator">:</span> <span class="token number">40</span><span class="token punctuation">,</span><span class="token comment">// 文字倾斜度</span>
      textStyle<span class="token operator">:</span><span class="token punctuation">{</span>
      	color<span class="token operator">:</span>'#fff<span class="token punctuation">,</span>
      	fontSize<span class="token operator">:</span><span class="token string">'20px'</span><span class="token punctuation">,</span>
      	align<span class="token operator">:</span><span class="token string">'center'</span>
      <span class="token punctuation">}</span>
  <span class="token punctuation">}</span><span class="token punctuation">,</span>
  axisLine<span class="token operator">:</span><span class="token punctuation">{</span>
    lineStyle<span class="token operator">:</span><span class="token punctuation">{</span>
      color<span class="token operator">:</span><span class="token string">'red'</span>   <span class="token comment">//x轴颜色</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    symbol<span class="token operator">:</span><span class="token punctuation">[</span><span class="token string">'none'</span><span class="token punctuation">,</span><span class="token string">'arrow'</span><span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token comment">//轴线两边的箭头</span>
    symbolSize<span class="token operator">:</span><span class="token punctuation">[</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">]</span>  <span class="token comment">//箭头大小</span>
  <span class="token punctuation">}</span><span class="token punctuation">,</span>
  data<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">'2020-07-08 周三'</span><span class="token punctuation">,</span><span class="token string">'2020-07-09 周四'</span><span class="token punctuation">,</span><span class="token punctuation">]</span><span class="token punctuation">.</span><span class="token function">map</span><span class="token punctuation">(</span><span class="token punctuation">(</span><span class="token parameter">str</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token punctuation">{</span>
      <span class="token keyword">return</span> str<span class="token punctuation">.</span><span class="token function">replace</span><span class="token punctuation">(</span><span class="token string">' '</span><span class="token punctuation">,</span><span class="token string">'\n'</span><span class="token punctuation">)</span>
  <span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">,</span><span class="token comment">// 横轴坐标值</span>
  <span class="token comment">// data: [{value:'1',textStyle:{</span>
            color<span class="token operator">:</span><span class="token string">'#ff0033'</span><span class="token punctuation">,</span>
        <span class="token punctuation">}</span><span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token string">'2/7'</span><span class="token punctuation">,</span> <span class="token string">'3'</span><span class="token punctuation">,</span> <span class="token string">'4'</span><span class="token punctuation">,</span> <span class="token string">'5'</span><span class="token punctuation">,</span> <span class="token string">'6'</span><span class="token punctuation">,</span> <span class="token string">'7'</span><span class="token punctuation">]</span><span class="token comment">//每一项也可以是具体的配置项，此时取配置项中的 `value` 为类目名</span>
  splitLine<span class="token operator">:</span> <span class="token punctuation">{</span>
  	show<span class="token operator">:</span> <span class="token boolean">false</span>，
  	lineStyle<span class="token operator">:</span><span class="token punctuation">{</span>  <span class="token comment">//属性lineStyle（详见lineStyle）控制线条样式</span>
		color<span class="token operator">:</span><span class="token punctuation">[</span><span class="token string">'#ccc'</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
		width<span class="token operator">:</span><span class="token number">1</span><span class="token punctuation">,</span>
		type<span class="token operator">:</span><span class="token string">'solid'</span>
	<span class="token punctuation">}</span>
  <span class="token punctuation">}</span><span class="token punctuation">,</span>  <span class="token comment">// 取消X轴的网格</span>
  splitArea<span class="token operator">:</span><span class="token punctuation">{</span>   <span class="token comment">//分隔区域</span>
    show<span class="token operator">:</span><span class="token boolean">true</span><span class="token punctuation">,</span>
    areaStyle<span class="token operator">:</span><span class="token punctuation">{</span>
		color<span class="token operator">:</span><span class="token punctuation">[</span><span class="token string">'rgba(250,250,250,0.3)'</span><span class="token punctuation">,</span><span class="token string">'rgba(200,200,200,0.3)'</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
	<span class="token punctuation">}</span>
  <span class="token punctuation">}</span><span class="token punctuation">,</span>
  axisTick<span class="token operator">:</span> <span class="token punctuation">{</span>  <span class="token comment">// 显示隐藏刻度线</span>
   inside<span class="token operator">:</span><span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">//刻度朝内还是朝外</span>
   alignWithLabel<span class="token operator">:</span> <span class="token boolean">true</span>   <span class="token comment">// 刻度线是否显示</span>
  <span class="token punctuation">}</span>
<span class="token punctuation">}</span>

</code></pre></div><h2 id="yaxis-y-轴"><a href="#yaxis-y-轴" class="header-anchor">#</a> yAxis-y 轴</h2> <p>直角坐标系 grid 中的 y 轴，一般情况下单个 grid 组件最多只能放左右两个 y 轴，多于两个 y 轴需要通过配置 offset 属性防止同个位置多个 Y 轴的重叠。</p> <div class="language-js extra-class"><pre class="language-js"><code>yAxis<span class="token operator">:</span> <span class="token punctuation">{</span>
   type<span class="token operator">:</span> <span class="token string">'value'</span><span class="token punctuation">,</span>
   name<span class="token operator">:</span> <span class="token string">&quot;         金额( 单位: 万元 )&quot;</span><span class="token punctuation">,</span>
   nameTextStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
     color<span class="token operator">:</span> <span class="token string">'#ffffff'</span>
   <span class="token punctuation">}</span><span class="token punctuation">,</span>
   axisLine<span class="token operator">:</span> <span class="token punctuation">{</span>
     show<span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
     lineStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
       type<span class="token operator">:</span> <span class="token string">'dashed'</span><span class="token punctuation">,</span>
       color<span class="token operator">:</span> <span class="token string">'rgba(135,140,147,0.8)'</span>
     <span class="token punctuation">}</span>，
     axisLabel<span class="token operator">:</span> <span class="token punctuation">{</span>
       show<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
       textStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
         color<span class="token operator">:</span> <span class="token string">&quot;#fff&quot;</span><span class="token punctuation">,</span>
         fontSize<span class="token operator">:</span> <span class="token string">&quot;16&quot;</span><span class="token punctuation">,</span>
       <span class="token punctuation">}</span><span class="token punctuation">,</span>
       <span class="token function-variable function">formatter</span><span class="token operator">:</span><span class="token keyword">function</span><span class="token punctuation">(</span><span class="token parameter">value</span><span class="token punctuation">)</span><span class="token punctuation">{</span>     <span class="token comment">//设置Y轴显示的名字，超出做..隐藏</span>
         <span class="token keyword">var</span> res <span class="token operator">=</span> value<span class="token punctuation">;</span>
         <span class="token keyword">if</span><span class="token punctuation">(</span>res<span class="token punctuation">.</span>length <span class="token operator">&gt;</span><span class="token number">7</span><span class="token punctuation">)</span><span class="token punctuation">{</span>
           res <span class="token operator">=</span> res<span class="token punctuation">.</span><span class="token function">substring</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token number">6</span><span class="token punctuation">)</span> <span class="token operator">+</span> <span class="token string">&quot;..&quot;</span>
         <span class="token punctuation">}</span>
         <span class="token keyword">return</span> res<span class="token punctuation">;</span>
       <span class="token punctuation">}</span>
     <span class="token punctuation">}</span><span class="token punctuation">,</span>
   <span class="token punctuation">}</span><span class="token punctuation">,</span>
   splitLine<span class="token operator">:</span> <span class="token punctuation">{</span>
     show<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
     lineStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
       type<span class="token operator">:</span> <span class="token string">'dashed'</span><span class="token punctuation">,</span>   <span class="token comment">//背景线为虚线</span>
       color<span class="token operator">:</span> <span class="token string">'rgba(135,140,147,.8)'</span> <span class="token comment">//左侧显示线</span>
     <span class="token punctuation">}</span>
   <span class="token punctuation">}</span><span class="token punctuation">,</span>
   axisLabel<span class="token operator">:</span> <span class="token punctuation">{</span>
     formatter<span class="token operator">:</span> <span class="token string">'{value}'</span><span class="token punctuation">,</span>
     color<span class="token operator">:</span> <span class="token string">'#fff'</span><span class="token punctuation">,</span>
     fontSize<span class="token operator">:</span> <span class="token number">14</span>
   <span class="token punctuation">}</span>
 <span class="token punctuation">}</span><span class="token punctuation">,</span>

</code></pre></div><h2 id="series-line-折线-面积图"><a href="#series-line-折线-面积图" class="header-anchor">#</a> series-line--折线/面积图</h2> <p>折线图是用折线将各个数据点标志连接起来的图表，用于展现数据的变化趋势。可用于直角坐标系和极坐标系上</p> <div class="language-js extra-class"><pre class="language-js"><code>line<span class="token operator">:</span> <span class="token punctuation">{</span>
	  itemStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
	       normal<span class="token operator">:</span> <span class="token punctuation">{</span>
	           <span class="token comment">// color: 各异,</span>
	           label<span class="token operator">:</span> <span class="token punctuation">{</span>
	               show<span class="token operator">:</span> <span class="token boolean">false</span>
	               <span class="token comment">// position: 默认自适应，水平布局为'top'，垂直布局为'right'，可选为</span>
	               <span class="token comment">//           'inside'|'left'|'right'|'top'|'bottom'</span>
	               <span class="token comment">// textStyle: null      // 默认使用全局文本样式，详见TEXTSTYLE</span>
	           <span class="token punctuation">}</span><span class="token punctuation">,</span>
	           lineStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
	               width<span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">,</span>
	               type<span class="token operator">:</span> <span class="token string">'solid'</span><span class="token punctuation">,</span>
	               	normal<span class="token operator">:</span> <span class="token punctuation">{</span>
	               	<span class="token comment">//线的渐变颜色</span>
		                color<span class="token operator">:</span> <span class="token keyword">new</span> <span class="token class-name">echarts<span class="token punctuation">.</span>graphic<span class="token punctuation">.</span>LinearGradient</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0.7</span><span class="token punctuation">,</span> <span class="token punctuation">[</span>        
		                  <span class="token punctuation">{</span>
		                    offset<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
		                    color<span class="token operator">:</span> <span class="token string">&quot;#24D5CC&quot;</span><span class="token punctuation">,</span>
		                  <span class="token punctuation">}</span><span class="token punctuation">,</span>
		                  <span class="token punctuation">{</span>
		                    offset<span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
		                    color<span class="token operator">:</span> <span class="token string">&quot;#7A50F1&quot;</span><span class="token punctuation">,</span>
		                  <span class="token punctuation">}</span><span class="token punctuation">,</span>
		                <span class="token punctuation">]</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
		                opacity<span class="token operator">:</span> <span class="token number">0.75</span><span class="token punctuation">,</span>
		              <span class="token punctuation">}</span><span class="token punctuation">,</span>
	               shadowColor<span class="token operator">:</span> <span class="token string">'rgba(0,0,0,0)'</span><span class="token punctuation">,</span> <span class="token comment">//默认透明  阴影</span>
	               shadowBlur<span class="token operator">:</span> <span class="token number">5</span><span class="token punctuation">,</span>
	               shadowOffsetX<span class="token operator">:</span> <span class="token number">3</span><span class="token punctuation">,</span>
	               shadowOffsetY<span class="token operator">:</span> <span class="token number">3</span>
	           <span class="token punctuation">}</span>，
	           itemStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
	              normal<span class="token operator">:</span> <span class="token punctuation">{</span>
	                lineStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
	                  width<span class="token operator">:</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token comment">//设置线条粗细</span>
	                <span class="token punctuation">}</span><span class="token punctuation">,</span>
	              <span class="token punctuation">}</span><span class="token punctuation">,</span>
	            <span class="token punctuation">}</span><span class="token punctuation">,</span>
	          areaStyle<span class="token operator">:</span> <span class="token punctuation">{</span>   <span class="token comment">//折线图覆盖面积</span>
                  color<span class="token operator">:</span> <span class="token keyword">new</span> <span class="token class-name">echarts<span class="token punctuation">.</span>graphic<span class="token punctuation">.</span>LinearGradient</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token punctuation">[</span>
                    <span class="token punctuation">{</span>
                      offset<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                      color<span class="token operator">:</span> <span class="token string">&quot;rgba(255,80,124,0)&quot;</span><span class="token punctuation">,</span>
                    <span class="token punctuation">}</span><span class="token punctuation">,</span>
                    <span class="token punctuation">{</span>
                      offset<span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
                      color<span class="token operator">:</span> <span class="token string">&quot;rgba(255,80,124,0.35)&quot;</span><span class="token punctuation">,</span>
                    <span class="token punctuation">}</span><span class="token punctuation">,</span>
                  <span class="token punctuation">]</span><span class="token punctuation">)</span><span class="token punctuation">,</span>    <span class="token comment">//渐变色</span>
                <span class="token punctuation">}</span><span class="token punctuation">,</span>
	       <span class="token punctuation">}</span><span class="token punctuation">,</span>
	       emphasis<span class="token operator">:</span> <span class="token punctuation">{</span>   <span class="token comment">// 鼠标移入</span>
	           <span class="token comment">// color: 各异,</span>
	           label<span class="token operator">:</span> <span class="token punctuation">{</span>
	               show<span class="token operator">:</span> <span class="token boolean">false</span>
	               <span class="token comment">// position: 默认自适应，水平布局为'top'，垂直布局为'right'，可选为</span>
	               <span class="token comment">//           'inside'|'left'|'right'|'top'|'bottom'</span>
	               <span class="token comment">// textStyle: null      // 默认使用全局文本样式，详见TEXTSTYLE</span>
	           <span class="token punctuation">}</span>
	       <span class="token punctuation">}</span>
	   <span class="token punctuation">}</span><span class="token punctuation">,</span>
	   <span class="token comment">//smooth : false,  //是否平滑</span>
	   <span class="token comment">//symbol: null,         // 拐点图形类型,可以自己设置图片</span>
	   symbolSize<span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token comment">// 拐点图形大小</span>
	   symbolOffset<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">&quot;0&quot;</span><span class="token punctuation">,</span> <span class="token string">&quot;-8&quot;</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token comment">//拐点位置</span>
	   <span class="token comment">//symbolRotate : null,  // 拐点图形旋转控制</span>
	   showAllSymbol<span class="token operator">:</span> <span class="token boolean">false</span> <span class="token comment">// 标志图形默认只有主轴显示（随主轴标签间隔隐藏策略）</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>

</code></pre></div><h2 id="series-bar-柱状图"><a href="#series-bar-柱状图" class="header-anchor">#</a> series-bar--柱状图</h2> <p>柱状图（或称条形图）是一种通过柱形的高度（横向的情况下则是宽度）来表现数据大小的一种常用图表类型。</p> <div class="language-js extra-class"><pre class="language-js"><code>bar<span class="token operator">:</span><span class="token punctuation">{</span>
	barMinHeight<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 最小高度改为0</span>
    <span class="token comment">// barWidth: null,        // 默认自适应</span>
    barGap<span class="token operator">:</span> <span class="token string">'30%'</span><span class="token punctuation">,</span> <span class="token comment">// 柱间距离，默认为柱形宽度的30%，可设固定值</span>
    barCategoryGap<span class="token operator">:</span> <span class="token string">'20%'</span><span class="token punctuation">,</span> <span class="token comment">// 类目间柱形距离，默认为类目间距的20%，可设固定值</span>
    itemStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
        normal<span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token comment">// color: '各异',</span>
            barBorderColor<span class="token operator">:</span> <span class="token string">'#fff'</span><span class="token punctuation">,</span> <span class="token comment">// 柱条边线</span>
            barBorderRadius<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 柱条边线圆角，单位px，默认为0</span>
            barBorderWidth<span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">// 柱条边线线宽，单位px，默认为1</span>
            label<span class="token operator">:</span> <span class="token punctuation">{</span>  <span class="token comment">//z柱状图上显示数字</span>
                show<span class="token operator">:</span> <span class="token boolean">false</span>
                <span class="token comment">// position: 默认自适应，水平布局为'top'，垂直布局为'right'，可选为</span>
                <span class="token comment">//           'inside'|'left'|'right'|'top'|'bottom'</span>
                <span class="token comment">// textStyle: null      // 默认使用全局文本样式，详见TEXTSTYLE</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        emphasis<span class="token operator">:</span> <span class="token punctuation">{</span>   <span class="token comment">// 鼠标移入的样式</span>
            <span class="token comment">// color: '各异',</span>
            barBorderColor<span class="token operator">:</span> <span class="token string">'rgba(0,0,0,0)'</span><span class="token punctuation">,</span> <span class="token comment">// 柱条边线</span>
            barBorderRadius<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 柱条边线圆角，单位px，默认为0</span>
            barBorderWidth<span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">// 柱条边线线宽，单位px，默认为1</span>
            label<span class="token operator">:</span> <span class="token punctuation">{</span>
                show<span class="token operator">:</span> <span class="token boolean">false</span>
                <span class="token comment">// position: 默认自适应，水平布局为'top'，垂直布局为'right'，可选为</span>
                <span class="token comment">//           'inside'|'left'|'right'|'top'|'bottom'</span>
                <span class="token comment">// textStyle: null      // 默认使用全局文本样式，详见TEXTSTYLE</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>


</code></pre></div><h2 id="series-pie-饼图"><a href="#series-pie-饼图" class="header-anchor">#</a> series-pie--饼图</h2> <p>饼图主要用于表现不同类目的数据在总和中的占比。每个的弧度表示数据数量的比例。
从 ECharts v4.6.0 版本起，我们提供了 'labelLine' 与 'edge' 两种新的布局方式。详情参见 label.alignTo。</p> <div class="language-js extra-class"><pre class="language-js"><code><span class="token comment">// 横向柱状图</span>
series<span class="token operator">:</span> <span class="token punctuation">[</span>
    <span class="token punctuation">{</span>
      type<span class="token operator">:</span> <span class="token string">&quot;pie&quot;</span><span class="token punctuation">,</span>
      radius<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">&quot;45%&quot;</span><span class="token punctuation">,</span> <span class="token string">&quot;60%&quot;</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
      center<span class="token operator">:</span> <span class="token keyword">this</span><span class="token punctuation">.</span>center<span class="token punctuation">,</span>
      data<span class="token operator">:</span> echartData<span class="token punctuation">,</span>
      hoverAnimation<span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
      itemStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
        normal<span class="token operator">:</span> <span class="token punctuation">{</span>
          borderColor<span class="token operator">:</span> bgColor<span class="token punctuation">,</span>
          borderWidth<span class="token operator">:</span> <span class="token number">2</span>
        <span class="token punctuation">}</span>
      <span class="token punctuation">}</span><span class="token punctuation">,</span>
      labelLine<span class="token operator">:</span> <span class="token punctuation">{</span>
        normal<span class="token operator">:</span> <span class="token punctuation">{</span>
          length<span class="token operator">:</span> <span class="token number">20</span><span class="token punctuation">,</span>
          <span class="token comment">// length2: 100,</span>
          lineStyle<span class="token operator">:</span> <span class="token punctuation">{</span>
            color<span class="token operator">:</span> <span class="token string">&quot;#999&quot;</span>
          <span class="token punctuation">}</span>
        <span class="token punctuation">}</span>
      <span class="token punctuation">}</span><span class="token punctuation">,</span>
      label<span class="token operator">:</span> <span class="token punctuation">{</span>
        normal<span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token comment">//https://echarts.apache.org/zh/option.html#grid.tooltip.formatter</span>
        <span class="token comment">//{a},{b},{c},{d}各代表不同的值</span>
        <span class="token comment">// formatter: &quot;{font|{b}}\n{hr|}\n{font|{d}%}&quot;,</span>
          <span class="token function-variable function">formatter</span><span class="token operator">:</span> <span class="token parameter">params</span> <span class="token operator">=&gt;</span> <span class="token punctuation">{</span>
            <span class="token keyword">return</span> <span class="token punctuation">(</span>
              <span class="token string">&quot;{icon|●}{name|&quot;</span> <span class="token operator">+</span>
              params<span class="token punctuation">.</span>name <span class="token operator">+</span>
              <span class="token string">&quot;}{value|&quot;</span> <span class="token operator">+</span>
              <span class="token function">formatNumber</span><span class="token punctuation">(</span>params<span class="token punctuation">.</span>value<span class="token punctuation">)</span> <span class="token operator">+</span>
              <span class="token string">&quot;}&quot;</span>
            <span class="token punctuation">)</span><span class="token punctuation">;</span>
          <span class="token punctuation">}</span><span class="token punctuation">,</span>
          padding<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
          rich<span class="token operator">:</span> <span class="token punctuation">{</span>
            icon<span class="token operator">:</span> <span class="token punctuation">{</span>
              fontSize<span class="token operator">:</span> <span class="token number">16</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            name<span class="token operator">:</span> <span class="token punctuation">{</span>
              fontSize<span class="token operator">:</span> <span class="token number">14</span><span class="token punctuation">,</span>
              padding<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
              color<span class="token operator">:</span> <span class="token string">&quot;#666&quot;</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            value<span class="token operator">:</span> <span class="token punctuation">{</span>
              fontSize<span class="token operator">:</span> <span class="token number">16</span><span class="token punctuation">,</span>
              fontWeight<span class="token operator">:</span> <span class="token string">&quot;bold&quot;</span><span class="token punctuation">,</span>
              color<span class="token operator">:</span> <span class="token string">&quot;#666&quot;</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            hr<span class="token operator">:</span> <span class="token punctuation">{</span>
              height<span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
              borderWidth<span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
              width<span class="token operator">:</span> <span class="token string">&quot;100%&quot;</span><span class="token punctuation">,</span>
              borderColor<span class="token operator">:</span> <span class="token string">&quot;#999&quot;</span>
            <span class="token punctuation">}</span>
          <span class="token punctuation">}</span>
        <span class="token punctuation">}</span>
      <span class="token punctuation">}</span>
    <span class="token punctuation">}</span>
  <span class="token punctuation">]</span>


</code></pre></div></div> <footer class="page-edit" style="display:none;"><!----> <div class="last-updated"><span class="prefix">Last Updated: </span> <span class="time">2023/3/10 下午3:31:11</span></div></footer> <!----> <!----> <!----></main> <!----></div></div></div></div></div><div class="global-ui"><div class="back-to-ceiling" style="right:1rem;bottom:6rem;width:2.5rem;height:2.5rem;border-radius:.25rem;line-height:2.5rem;display:none;" data-v-c6073ba8 data-v-c6073ba8><svg t="1574745035067" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5404" class="icon" data-v-c6073ba8><path d="M526.60727968 10.90185116a27.675 27.675 0 0 0-29.21455937 0c-131.36607665 82.28402758-218.69155461 228.01873535-218.69155402 394.07834331a462.20625001 462.20625001 0 0 0 5.36959153 69.94390903c1.00431239 6.55289093-0.34802892 13.13561351-3.76865779 18.80351572-32.63518765 54.11355614-51.75690182 118.55860487-51.7569018 187.94566865a371.06718723 371.06718723 0 0 0 11.50484808 91.98906777c6.53300375 25.50556257 41.68394495 28.14064038 52.69160883 4.22606766 17.37162448-37.73630017 42.14135425-72.50938081 72.80769204-103.21549295 2.18761121 3.04276886 4.15646224 6.24463696 6.40373557 9.22774369a1871.4375 1871.4375 0 0 0 140.04691725 5.34970492 1866.36093723 1866.36093723 0 0 0 140.04691723-5.34970492c2.24727335-2.98310674 4.21612437-6.18497483 6.3937923-9.2178004 30.66633723 30.70611158 55.4360664 65.4791928 72.80769147 103.21549355 11.00766384 23.91457269 46.15860503 21.27949489 52.69160879-4.22606768a371.15156223 371.15156223 0 0 0 11.514792-91.99901164c0-69.36717486-19.13165746-133.82216804-51.75690182-187.92578088-3.42062944-5.66790279-4.76302748-12.26056868-3.76865837-18.80351632a462.20625001 462.20625001 0 0 0 5.36959269-69.943909c-0.00994388-166.08943902-87.32547796-311.81420293-218.6915546-394.09823051zM605.93803103 357.87693858a93.93749974 93.93749974 0 1 1-187.89594924 6.1e-7 93.93749974 93.93749974 0 0 1 187.89594924-6.1e-7z" p-id="5405" data-v-c6073ba8></path><path d="M429.50777625 765.63860547C429.50777625 803.39355007 466.44236686 1000.39046097 512.00932183 1000.39046097c45.56695499 0 82.4922232-197.00623328 82.5015456-234.7518555 0-37.75494459-36.9345906-68.35043303-82.4922232-68.34111062-45.57627738-0.00932239-82.52019037 30.59548842-82.51086798 68.34111062z" p-id="5406" data-v-c6073ba8></path></svg></div><div class="kanbanniang" data-v-5775ee02><div class="banniang-container" style="display:;" data-v-5775ee02><div class="messageBox" style="right:68px;bottom:190px;display:none;" data-v-5775ee02>
      我是王茂铭谢谢你的关注 
    </div> <div class="operation" style="right:90px;bottom:40px;display:;" data-v-5775ee02><i class="kbnfont kbn-ban-home ban-home" data-v-5775ee02></i> <i class="kbnfont kbn-ban-message message" data-v-5775ee02></i> <i class="kbnfont kbn-ban-close close" data-v-5775ee02></i> <a target="_blank" href="https://vuepress-theme-reco.recoluan.com/views/plugins/kanbanniang.html" data-v-5775ee02><i class="kbnfont kbn-ban-info info" data-v-5775ee02></i></a> <i class="kbnfont kbn-ban-theme skin" style="display:;" data-v-5775ee02></i></div> <canvas id="banniang" width="240" height="352" class="live2d" style="right:90px;bottom:-20px;opacity:0.9;" data-v-5775ee02></canvas></div> <div class="showBanNiang" style="display:none;" data-v-5775ee02>
    看板娘
  </div></div><canvas id="vuepress-canvas-cursor"></canvas><APlayer audio="" fixed="true" mini="true" autoplay="autoplay" theme="#b7daff" loop="loop" order="random" preload="auto" volume="0.2" mutex="true" lrc-type="1" list-max-height="250" storage-name="vuepress-plugin-meting" id="aplayer-fixed"></APlayer></div></div>
    <script src="/blog/assets/js/app.e4cba77b.js" defer></script><script src="/blog/assets/js/5.1ad0ff24.js" defer></script><script src="/blog/assets/js/1.fe4eac58.js" defer></script><script src="/blog/assets/js/30.5c69a6a2.js" defer></script>
  </body>
</html>
